define(['app'],function(app){return {module: function($scope, $http, eventBusService, httpService, params) {

	var str = window.location.href;
	str = str.substring(str.indexOf('modeul=')+7, str.length);
	
	$scope.defaultModeul =  app.include(str.replace(/%2F/g,"/"));
	$scope.$apply();
	
	//接收模块变更
	eventBusService.subscribe('modules.mobile.load', function(event,data) {
		$scope.defaultModeul = app.include(data.url);
	});

}}});